package top.yuhaitao.core.service;

import top.yuhaitao.core.pojo.ProductInfo;

public interface SecondKillSevice {


    /**
     * 查询秒杀
     *
     * @param productId
     * @return
     */
    ProductInfo querySeconedKillProductInfo(String productId);

    /**
     * 秒杀
     *
     * @param ProductId
     */
    void seconedKill(String productId);
}
